﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>" />

<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Dashboard | BlueWhale Admin</title>
<link rel="stylesheet" type="text/css" href="front/chart/css/reset.css"
	media="screen" />
<link rel="stylesheet" type="text/css" href="front/chart/css/text.css"
	media="screen" />
<link rel="stylesheet" type="text/css" href="front/chart/css/grid.css"
	media="screen" />
<link rel="stylesheet" type="text/css" href="front/chart/css/layout.css"
	media="screen" />
<link rel="stylesheet" type="text/css" href="front/chart/css/nav.css" media="screen" />
<!--[if IE 6]><link rel="stylesheet" type="text/css" href="front/chart/css/ie6.css" media="screen" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="front/chart/css/ie.css" media="screen" /><![endif]-->
<!-- BEGIN: load jquery -->
<script src="front/chart/js/jquery-1.6.4.min.js" type="text/javascript"></script>
<script type="text/javascript" src="front/chart/js/jquery-ui/jquery.ui.core.min.js"></script>
<script src="front/chart/js/jquery-ui/jquery.ui.widget.min.js"
	type="text/javascript"></script>
<script src="front/chart/js/jquery-ui/jquery.ui.accordion.min.js"
	type="text/javascript"></script>
<script src="front/chart/js/jquery-ui/jquery.effects.core.min.js"
	type="text/javascript"></script>
<script src="front/chart/js/jquery-ui/jquery.effects.slide.min.js"
	type="text/javascript"></script>
<!-- END: load jquery -->
<!-- BEGIN: load jqplot -->
<link rel="stylesheet" type="text/css" href="front/chart/css/jquery.jqplot.min.css" />
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="front/chart/js/jqPlot/excanvas.min.js"></script><![endif]-->
<script language="javascript" type="text/javascript"
	src="front/chart/js/jqPlot/jquery.jqplot.min.js"></script>
<script language="javascript" type="text/javascript"
	src="front/chart/js/jqPlot/plugins/jqplot.barRenderer.min.js"></script>
<script language="javascript" type="text/javascript"
	src="front/chart/js/jqPlot/plugins/jqplot.pieRenderer.min.js"></script>
<script language="javascript" type="text/javascript"
	src="front/chart/js/jqPlot/plugins/jqplot.categoryAxisRenderer.min.js"></script>
<script language="javascript" type="text/javascript"
	src="front/chart/js/jqPlot/plugins/jqplot.highlighter.min.js"></script>
<script language="javascript" type="text/javascript"
	src="front/chart/js/jqPlot/plugins/jqplot.pointLabels.min.js"></script>
<!-- END: load jqplot -->
<script src="front/chart/js/utils.js" type="text/javascript"></script>
<script src="front/chart/js/showChart.js" type="text/javascript"></script>
<script src="front/chart/js/setupBarChart.js" type="text/javascript"></script>


</head>
<body>
	<div class="container_12">



		<div class="grid_10">
      <!-- 每个图通过id和js配合生成图标 -->
      <!-- type1 为简单图表 titlename为单一图例名称 -->

			<jsp:include page="barChart.jsp?">
				<jsp:param value="student" name="modelname"/>
				<jsp:param value="getCountStudentByCourse" name="methodname"/>
				<jsp:param value="cno" name="idno"/>
				<jsp:param value="人数" name="titlename"/>
				<jsp:param value="1" name="type"/>
			</jsp:include>
			<jsp:include page="barChart.jsp?">
				<jsp:param value="student" name="modelname"/>
				<jsp:param value="getCountStudentByCourse" name="methodname"/>
				<jsp:param value="cno" name="idno"/>
				<jsp:param value="cname" name="titlename"/>
				<jsp:param value="3" name="type"/>
			</jsp:include>

			<jsp:include page="barChart.jsp?">
				<jsp:param value="student" name="modelname"/>
				<jsp:param value="getAvgScoreByExampointAndCourse" name="methodname"/>
				<jsp:param value="exampoint" name="idno"/>
				<jsp:param value="cname" name="titlename"/>
				<jsp:param value="2" name="type"/>
			</jsp:include>


			<jsp:include page="barChart.jsp?">
				<jsp:param value="student" name="modelname"/>
				<jsp:param value="getPouCoureByExampoint" name="methodname"/>
				<jsp:param value="exampoint" name="idno"/>
				<jsp:param value="cname" name="titlename"/>
				<jsp:param value="2" name="type"/>
			</jsp:include>
		</div>
	</div>
	<script type="text/javascript">
//showChart等待 全部的 多次 barChart 加载完毕之后才 这个ready方法
 $(function(){
  $('.chartPane').each(function(i,chart){
	  //alert($(this).html());
    getInitBarResults($(this).find(".block").children('div').attr('id'));
  });
});
</script>
</body>
</html>
